package com.xdcplus.web.mapper.bd;

import com.xdcplus.mp.mapper.IBaseMapper;
import com.xdcplus.web.common.pojo.entity.bd.BdWetWeightTarget;
import com.xdcplus.web.common.pojo.query.bd.BdWetWeightTargetQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 丝印湿重目标维护(BdWetWeightTarget)表数据库访问层
 *
 * @author Zhecheng.Ren
 * @since 2024-10-22 15:10:15
 */
public interface BdWetWeightTargetMapper extends IBaseMapper<BdWetWeightTarget> {

    /**
     * 查询丝印湿重目标维护(BdWetWeightTarget)
     *
     * @param bdWetWeightTargetQuery 丝印湿重目标维护(BdWetWeightTarget)查询
     * @return {@link List<BdWetWeightTarget>}
     */
    List<BdWetWeightTarget> queryBdWetWeightTarget(BdWetWeightTargetQuery bdWetWeightTargetQuery);

    BdWetWeightTarget queryByBayCodeAndRoadNum(@Param("bayCode") String bayCode, @Param("roadNum") Integer roadNum);

    BdWetWeightTarget queryByBayCodeAndRoadNumAndIdNot(@Param("bayCode") String bayCode, @Param("roadNum") Integer roadNum, @Param("id") Long id);

}
